package com.runa.monitor.platinterface.meter3_0.command;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @author diandian
 * @Date 2022/12/6 21:27
 */
public class ReqSendBuffer extends MeteringCommand {

    public ReqSendBuffer(String netEquSerialNo) {
        super("Req_SendBuffer", netEquSerialNo);
    }

    private ReqSendBuffer.Data data;

    public ReqSendBuffer.Data getData() {
        return data;
    }

    public void setData(ReqSendBuffer.Data data) {
        this.data = data;
    }

    @Getter
    @Setter
    public static class Data{
        @JSONField(name = "Buffer")
        private String buffer;
    }
}